package com.vlyman.code.consts;

/**
 * 类描述：
 *  代码生成器常量类
 * @author chenjs
 * @date 2018/12/13 12:31
 **/
public class Consts {
    /**
     * freemark文件后缀名
     */
    public static String FREEMARK_FILE_SUFFIX = ".ftl";

    /**
     * velocity文件后缀名
     */
    public static String VELOCITY_FILE_SUFFIX = ".vm";

    /**
     * 默认的前端控制类模板路径
     */
    public static String VLYMAN_CONTROLLER_TEMPLATE_PATH = "/templates/vlyman/controller.java";

    /**
     * 默认的实体类模板路径
     */
    public static String VLYMAN_ENTITY_TEMPLATE_PATH = "/templates/vlyman/entity.java";

    /**
     * 默认的数据接口类模板路径
     */
    public static String VLYMAN_MAPPER_TEMPLATE_PATH = "/templates/vlyman/mapper.java";

    /**
     * 默认的sql语句xml文件模板路径
     */
    public static String VLYMAN_MAPPER_XML_TEMPLATE_PATH = "/templates/vlyman/mapper.xml";

    /**
     * 默认的服务类模板路径
     */
    public static String VLYMAN_SERVICE_TEMPLATE_PATH = "/templates/vlyman/service.java";

    /**
     * 默认的服务实现类模板路径
     */
    public static String VLYMAN_SERVICEIMPL_TEMPLATE_PATH = "/templates/vlyman/serviceImpl.java";
}
